package com.ruoyi.project.roadnet.baseRoadwaysection.domain;

import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 路段表 base_roadwaysection
 * 
 * @author zhangdachen
 * @date 2019-04-12
 */
public class BaseRoadway extends BaseEntity
{
	private static final long serialVersionUID = 1L;

	/** 道路编码 */
	private String roadcode;
	/** 道路名称 */
	private String roadname;
	/** 所属乡镇 */
	private String deptId;
	/**  */
	private Float startnum;
	/**  */
	private Float endnum;

	public void setRoadcode(String roadcode) 
	{
		this.roadcode = roadcode;
	}

	public String getRoadcode() 
	{
		return roadcode;
	}
	public void setRoadname(String roadname) 
	{
		this.roadname = roadname;
	}

	public String getRoadname() 
	{
		return roadname;
	}

	public void setdeptId(String deptId)
	{
		this.deptId = deptId;
	}

	public String getdeptId()
	{
		return deptId;
	}

	public void setStartnum(Float startnum)
	{
		this.startnum = startnum;
	}

	public Float getStartnum()
	{
		return startnum;
	}

	public void setEndnum(Float endnum)
	{
		this.endnum = endnum;
	}

	public Float getEndnum()
	{
		return endnum;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("roadcode", getRoadcode())
            .append("roadname", getRoadname())
            .append("deptId", getdeptId())
            .append("startnum", getStartnum())
            .append("endnum", getEndnum())
            .toString();
    }
}
